func syscall.setsockopt
13 uses
syscall (current package)
lsf_linux.go#L79: return setsockopt(fd, SOL_SOCKET, SO_ATTACH_FILTER, unsafe.Pointer(&p), unsafe.Sizeof(p))
lsf_linux.go#L85: return setsockopt(fd, SOL_SOCKET, SO_DETACH_FILTER, unsafe.Pointer(&dummy), unsafe.Sizeof(dummy))
syscall_linux.go#L748: return setsockopt(fd, level, opt, unsafe.Pointer(mreq), unsafe.Sizeof(*mreq))
syscall_unix.go#L457: return setsockopt(fd, level, opt, unsafe.Pointer(&value), 1)
syscall_unix.go#L462: return setsockopt(fd, level, opt, unsafe.Pointer(&n), 4)
syscall_unix.go#L466: return setsockopt(fd, level, opt, unsafe.Pointer(&value[0]), 4)
syscall_unix.go#L470: return setsockopt(fd, level, opt, unsafe.Pointer(mreq), SizeofIPMreq)
syscall_unix.go#L474: return setsockopt(fd, level, opt, unsafe.Pointer(mreq), SizeofIPv6Mreq)
syscall_unix.go#L478: return setsockopt(fd, level, opt, unsafe.Pointer(filter), SizeofICMPv6Filter)
syscall_unix.go#L482: return setsockopt(fd, level, opt, unsafe.Pointer(l), SizeofLinger)
syscall_unix.go#L490: return setsockopt(fd, level, opt, p, uintptr(len(s)))
syscall_unix.go#L494: return setsockopt(fd, level, opt, unsafe.Pointer(tv), unsafe.Sizeof(*tv))
zsyscall_linux_amd64.go#L1483: func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |